package com.gw.smscheck.entity.sys;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class Menu extends BasePager {

    private Integer id;//菜单 ID 
    private String title;//菜单名称
    private Integer pid;//父节点id
    private String url;//菜单地址
    private Integer sort;//排序
    private String iconurl;//图标地址
    private String buttonid;//按钮id
    private String type;//是否为按钮
    private  String level;//菜单等级
    private Integer menuId;//role_menu中菜单id
    private Integer roleId;//role_menu中角色id
    private String pTitle;//父级菜单名称
    private Integer createUserId;//创建人id
    private String createUser;//创建人
    private String createTime;//创建时间
    private String state;//创建时间
    private String pname;//创建时间

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public Integer getPid()
    {
        return pid;
    }

    public void setPid(Integer pid)
    {
        this.pid = pid;
    }

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public Integer getSort()
    {
        return sort;
    }

    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public String getIconurl()
    {
        return iconurl;
    }

    public void setIconurl(String iconurl)
    {
        this.iconurl = iconurl;
    }

    public String getButtonid()
    {
        return buttonid;
    }

    public void setButtonid(String buttonid)
    {
        this.buttonid = buttonid;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public Integer getMenuId()
    {
        return menuId;
    }

    public void setMenuId(Integer menuId)
    {
        this.menuId = menuId;
    }

    public Integer getRoleId()
    {
        return roleId;
    }

    public void setRoleId(Integer roleId)
    {
        this.roleId = roleId;
    }


    public String getpTitle() {
		return pTitle;
	}

	public void setpTitle(String pTitle) {
		this.pTitle = pTitle;
	}

	public Integer getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", pid=" + pid +
                ", url='" + url + '\'' +
                ", sort=" + sort +
                ", iconurl='" + iconurl + '\'' +
                ", buttonid='" + buttonid + '\'' +
                ", type='" + type + '\'' +
                ", level='" + level + '\'' +
                ", menuId=" + menuId +
                ", roleId=" + roleId +
                ", pTitle='" + pTitle + '\'' +
                ", createUserId=" + createUserId +
                ", createUser='" + createUser + '\'' +
                ", createTime='" + createTime + '\'' +
                ", state=" + state +
                '}';
    }
}
